/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.sourcecollect.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.sourcecollect.entity.SourceCollect;
import com.jeeplus.modules.sourcecollect.mapper.SourceCollectMapper;

/**
 * 车源收藏Service
 * @author zhych
 * @version 2021-12-09
 */
@Service
@Transactional(readOnly = true)
public class SourceCollectService extends CrudService<SourceCollectMapper, SourceCollect> {

	public SourceCollect get(String id) {
		return super.get(id);
	}
	
	public List<SourceCollect> findList(SourceCollect sourceCollect) {
		return super.findList(sourceCollect);
	}
	
	public Page<SourceCollect> findPage(Page<SourceCollect> page, SourceCollect sourceCollect) {
		return super.findPage(page, sourceCollect);
	}
	
	@Transactional(readOnly = false)
	public void save(SourceCollect sourceCollect) {
		super.save(sourceCollect);
	}
	
	@Transactional(readOnly = false)
	public void delete(SourceCollect sourceCollect) {
		super.delete(sourceCollect);
	}
	
}